libdns162 software package provides DNS Shared Library used by BIND, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libdns162
libdns162 is installed in your system.
Make ensure the libdns162 package were installed using the commands given below,
$ sudo dpkg-query -l | grep libdns162 *
You will get with libdns162 package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Libraries |
| Package | libdns162 |
| Version | 1:9.10.3.dfsg.P4-8ubuntu1.2 [a |
| Description | DNS Shared Library used by BIND |
| Sub Section | Libs |